package com.woniu.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName deal_useraccount
 */
@TableName(value ="deal_useraccount")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DealUseraccount implements Serializable {
    /**
     * 用户账户id
     */
    @TableId(type = IdType.AUTO)
    Integer useraccountId;

    /**
     * 用户id
     */
    Integer userId;


    /**
     * 用户账户余额
     */
    BigDecimal useraccountBalance;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}